package com.eastcom.providor.service;

import com.eastcom.providor.service.impl.CalendarItemService;
import com.eastcom.providor.service.impl.CalendarPolicyService;
import com.eastcom.providor.service.impl.DataSetNeService;
import com.eastcom.providor.service.impl.DataSetService;
import com.eastcom.providor.service.impl.KpiDefineService;
import com.eastcom.providor.service.impl.NeSpecialThreadHoldService;
import com.eastcom.providor.service.impl.PublicNeService;


public class ServiceFactory {
	
    private static ServiceFactory instance=null;
	
	public static ServiceFactory getInstance(){
		if(instance==null)
			instance=new ServiceFactory();
		
		return instance;
	}

	public INeSpecialThreadHoldService getNeSpecialThreadHoldService(){
		return new NeSpecialThreadHoldService();
	}
	
	public IPublicNeService getPublicNeService(){
		return new PublicNeService();
	}
	
	public IKpiDefineService getKpiDefineService(){
		return new KpiDefineService();
	}
	
	public IDataSetNeService getDataSetNeService(){
		return new DataSetNeService();
	}
	
	public IDataSetService getDataSetService(){
		return new DataSetService();
	}
	
	public ICalendarItemService getCalendarItemService(){
		return new CalendarItemService();
	}
	
	public ICalendarPolicyService getCalendarPolicyService(){
		return new CalendarPolicyService();
	}
	
}
